#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_btnSelectModel_clicked();
    void on_btnSelectImage_clicked();
    void on_btnStartDetect_clicked();
    void on_btnSaveResult_clicked();
    void on_sliderConfidence_valueChanged(int value);
    void on_sliderIOU_valueChanged(int value);
    void onDetectionTimerTimeout();

private:
    Ui::MainWindow *ui;
    QString modelPath;
    QString imagePath;
    void fillDetectResultTable();
};
#endif // MAINWINDOW_H
